<?php
$oReq = &App::getRequest();
$oTpl = &App::getTemplate();
$oTpl->assign('mode', $oReq->get('mode'));
?>